import 'package:dio/dio.dart';

/// app相关
class ReqApp {
  final Dio _dio;

  ReqApp(this._dio);

  /// 关于我们
  Future<Response> aboutInfo() {
    return _dio.get('/about/info', queryParameters: {});
  }

  // AppInfo
  Future<Response> appInfo() {
    return _dio.get('/app/checkVersion', queryParameters: {});
  }
}
